//
//  YJDetaCell.m
//  健康饮食
//
//  Created by qianfeng01 on 15/7/4.
//  Copyright (c) 2015年 qianfeng01. All rights reserved.
//

#import "YJDetaCell.h"
#import "UIImageView+WebCache.h"
@implementation YJDetaCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)showDataWithModel:(YJDetaModel *)model{
    self.nameLabel.text =model.dishsName;
    [self.imageImaageView sd_setImageWithURL:[NSURL URLWithString:model.image] placeholderImage:[UIImage imageNamed:@"food8"]];
    self.allClick.text =[NSString stringWithFormat:@"浏览%@",model.allClick];

    
}
@end
